<!DOCTYPE html>

<html>
<head>
  <title>settings.default.coffee</title>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <meta name="viewport" content="width=device-width, target-densitydpi=160dpi, initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
  <link rel="stylesheet" media="all" href="docco.css" />
</head>
<body>
  <div id="container">
    <div id="background"></div>
    
      <ul id="jump_to">
        <li>
          <a class="large" href="javascript:void(0);">Jump To &hellip;</a>
          <a class="small" href="javascript:void(0);">+</a>
          <div id="jump_wrapper">
          <div id="jump_page">
            
              
              <a class="source" href="configure.html">
                configure.coffee
              </a>
            
              
              <a class="source" href="dataParser.html">
                dataParser.coffee
              </a>
            
              
              <a class="source" href="database.html">
                database.coffee
              </a>
            
              
              <a class="source" href="logger.html">
                logger.coffee
              </a>
            
              
              <a class="source" href="mail.html">
                mail.coffee
              </a>
            
              
              <a class="source" href="messages.html">
                messages.coffee
              </a>
            
              
              <a class="source" href="routes.html">
                routes.coffee
              </a>
            
              
              <a class="source" href="settings.html">
                settings.coffee
              </a>
            
              
              <a class="source" href="settings.default.html">
                settings.default.coffee
              </a>
            
              
              <a class="source" href="twitter.html">
                twitter.coffee
              </a>
            
          </div>
        </li>
      </ul>
    
    <ul class="sections">
        
          <li id="title">
              <div class="annotation">
                  <h1>settings.default.coffee</h1>
              </div>
          </li>
        
        
        
        <li id="section-1">
            <div class="annotation">
              
              <div class="pilwrap for-h2">
                <a class="pilcrow" href="#section-1">&#182;</a>
              </div>
              <h2>DEFAULT SERVER SETTINGS</h2>

            </div>
            
        </li>
        
        
        <li id="section-2">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-2">&#182;</a>
              </div>
              <p>All default server side settings for the app are set on this file.
Please DO NOT CHANGE ANYTHING HERE, unless you know what you&#39;re doing.
Your own settings should be specified / overriden on the <code>settings.coffee</code> file.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre><span class="class"><span class="keyword">class</span> <span class="title">SettingsDefault</span></span></pre></div></div>
            
        </li>
        
        
        <li id="section-3">
            <div class="annotation">
              
              <div class="pilwrap for-h2">
                <a class="pilcrow" href="#section-3">&#182;</a>
              </div>
              <h2>GENERAL</h2>

            </div>
            
        </li>
        
        
        <li id="section-4">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-4">&#182;</a>
              </div>
              
            </div>
            
            <div class="content"><div class='highlight'><pre>    General:</pre></div></div>
            
        </li>
        
        
        <li id="section-5">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-5">&#182;</a>
              </div>
              <p>Enable or disable debugging messages. Should be false on production environments.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>        debug: <span class="literal">false</span></pre></div></div>
            
        </li>
        
        
        <li id="section-6">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-6">&#182;</a>
              </div>
              <p>The app title.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>        appTitle: <span class="string">"Counting.to"</span></pre></div></div>
            
        </li>
        
        
        <li id="section-7">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-7">&#182;</a>
              </div>
              <p>The app&#39;s base URL, including http://.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>        appUrl: <span class="string">"http://counting.to"</span></pre></div></div>
            
        </li>
        
        
        <li id="section-8">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-8">&#182;</a>
              </div>
              <p>The default text to show on top of pages.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>        pageHeader: <span class="string">"Counting.t"</span></pre></div></div>
            
        </li>
        
        
        <li id="section-9">
            <div class="annotation">
              
              <div class="pilwrap for-h2">
                <a class="pilcrow" href="#section-9">&#182;</a>
              </div>
              <h2>PATHS</h2>

            </div>
            
        </li>
        
        
        <li id="section-10">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-10">&#182;</a>
              </div>
              
            </div>
            
            <div class="content"><div class='highlight'><pre>    Path:</pre></div></div>
            
        </li>
        
        
        <li id="section-11">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-11">&#182;</a>
              </div>
              <p>Path to the email templates folder.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>        emailTemplatesDir: <span class="string">"./server/emailtemplates/"</span></pre></div></div>
            
        </li>
        
        
        <li id="section-12">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-12">&#182;</a>
              </div>
              <p>Path to the public folder used by Express.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>        publicDir: <span class="string">"./public/"</span></pre></div></div>
            
        </li>
        
        
        <li id="section-13">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-13">&#182;</a>
              </div>
              <p>Path where the .jade views are stored.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>        viewsDir: <span class="string">"./views/"</span></pre></div></div>
            
        </li>
        
        
        <li id="section-14">
            <div class="annotation">
              
              <div class="pilwrap for-h2">
                <a class="pilcrow" href="#section-14">&#182;</a>
              </div>
              <h2>WEB</h2>

            </div>
            
        </li>
        
        
        <li id="section-15">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-15">&#182;</a>
              </div>
              
            </div>
            
            <div class="content"><div class='highlight'><pre>    Web:</pre></div></div>
            
        </li>
        
        
        <li id="section-16">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-16">&#182;</a>
              </div>
              <p>Having paas set to <code>true</code> will force the app to parse and use environment variables.
Set to true if you&#39;re running this app on AppFog, Nodejitsu, OpenShift etc.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>        paas: <span class="literal">true</span></pre></div></div>
            
        </li>
        
        
        <li id="section-17">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-17">&#182;</a>
              </div>
              <p>Node.js server IP. Leaving blank or null will set the server to listen on all addresses.
This value might be overriden by PaaS environmental values.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>        ip: <span class="literal">null</span></pre></div></div>
            
        </li>
        
        
        <li id="section-18">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-18">&#182;</a>
              </div>
              <p>Node.js server port. Please note that this value might be overriden by PaaS
environmental values (like in AppFog or OpenShift).</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>        port: <span class="number">3456</span></pre></div></div>
            
        </li>
        
        
        <li id="section-19">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-19">&#182;</a>
              </div>
              <p>Secret key used for cookie encryption.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>        cookieSecret: <span class="string">"Counting.to.Cookie"</span></pre></div></div>
            
        </li>
        
        
        <li id="section-20">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-20">&#182;</a>
              </div>
              <p>Secret key used for session encryption.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>        sessionSecret: <span class="string">"Counting.to.Session"</span></pre></div></div>
            
        </li>
        
        
        <li id="section-21">
            <div class="annotation">
              
              <div class="pilwrap for-h2">
                <a class="pilcrow" href="#section-21">&#182;</a>
              </div>
              <h2>CONNECT ASSETS</h2>

            </div>
            
        </li>
        
        
        <li id="section-22">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-22">&#182;</a>
              </div>
              
            </div>
            
            <div class="content"><div class='highlight'><pre>    ConnectAssets:</pre></div></div>
            
        </li>
        
        
        <li id="section-23">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-23">&#182;</a>
              </div>
              <p>Build single assets?</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>        build: <span class="literal">true</span></pre></div></div>
            
        </li>
        
        
        <li id="section-24">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-24">&#182;</a>
              </div>
              <p>Build directories?</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>        buildDir: <span class="literal">false</span></pre></div></div>
            
        </li>
        
        
        <li id="section-25">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-25">&#182;</a>
              </div>
              <p>Minify JS and CSS builds?</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>        minifyBuilds: <span class="literal">true</span></pre></div></div>
            
        </li>
        
        
        <li id="section-26">
            <div class="annotation">
              
              <div class="pilwrap for-h2">
                <a class="pilcrow" href="#section-26">&#182;</a>
              </div>
              <h2>ERROR HANDLING</h2>

            </div>
            
        </li>
        
        
        <li id="section-27">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-27">&#182;</a>
              </div>
              
            </div>
            
            <div class="content"><div class='highlight'><pre>    ErrorHandling:</pre></div></div>
            
        </li>
        
        
        <li id="section-28">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-28">&#182;</a>
              </div>
              <p>Dump exceptions? On production environments we recommend setting this to false.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>        dumpExceptions: <span class="literal">false</span></pre></div></div>
            
        </li>
        
        
        <li id="section-29">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-29">&#182;</a>
              </div>
              <p>Show stack trace? On production environments we recommend setting this to false.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>        showStack: <span class="literal">false</span></pre></div></div>
            
        </li>
        
        
        <li id="section-30">
            <div class="annotation">
              
              <div class="pilwrap for-h2">
                <a class="pilcrow" href="#section-30">&#182;</a>
              </div>
              <h2>DATABASE</h2>

            </div>
            
        </li>
        
        
        <li id="section-31">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-31">&#182;</a>
              </div>
              
            </div>
            
            <div class="content"><div class='highlight'><pre>    Database:</pre></div></div>
            
        </li>
        
        
        <li id="section-32">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-32">&#182;</a>
              </div>
              <p>Connection string to MongoDB, using the format <code>user:password@hostname/dbname</code>.
Default is database countingto, running on localhost, with no credentials.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>        connString: <span class="string">"mongodb://localhost/countingto"</span></pre></div></div>
            
        </li>
        
        
        <li id="section-33">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-33">&#182;</a>
              </div>
              <p>In case you don&#39;t have failover / sharding in place on the database above
using MongoDB built-in features, you can set a failover connection string below.
It will be used ONLY if connection to the main database fails repeatedly.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>        connString2: <span class="literal">null</span></pre></div></div>
            
        </li>
        
        
        <li id="section-34">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-34">&#182;</a>
              </div>
              <p>How long to wait before trying to connect to the main database again (in seconds).</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>        failoverTimeout: <span class="number">300</span></pre></div></div>
            
        </li>
        
        
        <li id="section-35">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-35">&#182;</a>
              </div>
              <p>How many retries before switching to the failover database or aborting a database operation.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>        maxRetries: <span class="number">3</span></pre></div></div>
            
        </li>
        
        
        <li id="section-36">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-36">&#182;</a>
              </div>
              <p>How long between connection retries, in milliseconds. Default is 5 seconds.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>        retryInterval: <span class="number">5000</span></pre></div></div>
            
        </li>
        
        
        <li id="section-37">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-37">&#182;</a>
              </div>
              <p>Database connection options.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>        options:</pre></div></div>
            
        </li>
        
        
        <li id="section-38">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-38">&#182;</a>
              </div>
              <p>Auto recconect if connection is lost?</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>            autoReconnect: <span class="literal">true</span></pre></div></div>
            
        </li>
        
        
        <li id="section-39">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-39">&#182;</a>
              </div>
              <p>Default pool size for connections.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>            poolSize: <span class="number">8</span></pre></div></div>
            
        </li>
        
        
        <li id="section-40">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-40">&#182;</a>
              </div>
              <p>Safe writes? Setting this to true makes sure that Mongo aknowledges disk writes.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>            safe: <span class="literal">false</span></pre></div></div>
            
        </li>
        
        
        <li id="section-41">
            <div class="annotation">
              
              <div class="pilwrap for-h2">
                <a class="pilcrow" href="#section-41">&#182;</a>
              </div>
              <h2>EMAIL</h2>

            </div>
            
        </li>
        
        
        <li id="section-42">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-42">&#182;</a>
              </div>
              
            </div>
            
            <div class="content"><div class='highlight'><pre>    Email:</pre></div></div>
            
        </li>
        
        
        <li id="section-43">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-43">&#182;</a>
              </div>
              <p>Default <code>from</code> email address.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>        from: <span class="literal">null</span></pre></div></div>
            
        </li>
        
        
        <li id="section-44">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-44">&#182;</a>
              </div>
              <p>The SMTP host. If set to null or blank, no emails will be sent out.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>        smtpHost: <span class="literal">null</span></pre></div></div>
            
        </li>
        
        
        <li id="section-45">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-45">&#182;</a>
              </div>
              <p>The SMTP port to connect to.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>        smtpPort: <span class="literal">null</span></pre></div></div>
            
        </li>
        
        
        <li id="section-46">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-46">&#182;</a>
              </div>
              <p>The SMTP auth username.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>        smtpUser: <span class="literal">null</span></pre></div></div>
            
        </li>
        
        
        <li id="section-47">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-47">&#182;</a>
              </div>
              <p>The SMTP auth password.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>        smtpPassword: <span class="literal">null</span></pre></div></div>
            
        </li>
        
        
        <li id="section-48">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-48">&#182;</a>
              </div>
              <p>Connect using SSL? If you&#39;re using prt 587 then secure must be set to false in most cases.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>        smtpSecure: <span class="literal">false</span></pre></div></div>
            
        </li>
        
        
        <li id="section-49">
            <div class="annotation">
              
              <div class="pilwrap for-h2">
                <a class="pilcrow" href="#section-49">&#182;</a>
              </div>
              <h2>LOGGING</h2>

            </div>
            
        </li>
        
        
        <li id="section-50">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-50">&#182;</a>
              </div>
              <p>Built-in support for Loggly and Logentries. Define which service to use
by setting the <code>service</code> to either &quot;loggly&quot; or &quot;logentries&quot;. Leave it
null to disable general logging.
Tip: if you&#39;re using AppFog, you can easily create a Logentries account
by going to the &quot;Add-on&quot; tabs.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>    Log:</pre></div></div>
            
        </li>
        
        
        <li id="section-51">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-51">&#182;</a>
              </div>
              <p>If <code>sendIP</code> is true, the IP address of the machine will be added to logs events.
Useful when you have different instances of the app running on different services.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>        sendIP: <span class="literal">true</span></pre></div></div>
            
        </li>
        
        
        <li id="section-52">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-52">&#182;</a>
              </div>
              <p>If <code>sendTimestamp</code> is true, a timestamp will be added to logs events.
Please note that Loggly and Logentries already have a timestamp, so in most
cases you can leave this value set to false.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>        sendTimestamp: <span class="literal">false</span></pre></div></div>
            
        </li>
        
        
        <li id="section-53">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-53">&#182;</a>
              </div>
              <p>Change the value of <code>service</code> to loggly, logentries or null, depending
on which logging service you want to use.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>        service: <span class="literal">null</span></pre></div></div>
            
        </li>
        
        
        <li id="section-54">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-54">&#182;</a>
              </div>
              <p>If you set <code>service</code> to loggly, please inform your Loggly subdomain and token.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>        Loggly:
            subdomain: <span class="literal">null</span>
            token: <span class="literal">null</span></pre></div></div>
            
        </li>
        
        
        <li id="section-55">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-55">&#182;</a>
              </div>
              <p>If you set <code>service</code> to logentries, please inform your Logentries token.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>        Logentries:
            token: <span class="literal">null</span></pre></div></div>
            
        </li>
        
        
        <li id="section-56">
            <div class="annotation">
              
              <div class="pilwrap for-h2">
                <a class="pilcrow" href="#section-56">&#182;</a>
              </div>
              <h2>TWITTER</h2>

            </div>
            
        </li>
        
        
        <li id="section-57">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-57">&#182;</a>
              </div>
              <p>If you want to integrate with Twitter, you&#39;ll need to register an application
at <a href="http://dev.twitter.com">http://dev.twitter.com</a> and set the properties below.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>    Twitter:</pre></div></div>
            
        </li>
        
        
        <li id="section-58">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-58">&#182;</a>
              </div>
              <p>The Twitter app consumer key.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>        consumerKey: <span class="literal">null</span></pre></div></div>
            
        </li>
        
        
        <li id="section-59">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-59">&#182;</a>
              </div>
              <p>The Twitter app consumer secret.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>        consumerSecret: <span class="literal">null</span></pre></div></div>
            
        </li>
        
        
        <li id="section-60">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-60">&#182;</a>
              </div>
              <p>Your OAuth access token. This can be generated automatically for your
account on you application details page.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>        accessToken: <span class="literal">null</span></pre></div></div>
            
        </li>
        
        
        <li id="section-61">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-61">&#182;</a>
              </div>
              <p>Your OAuth access secret. This can be generated automatically for your
account on you application details page.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>        accessSecret: <span class="literal">null</span></pre></div></div>
            
        </li>
        
        
        <li id="section-62">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-62">&#182;</a>
              </div>
              <p>How long to wait before trying to authenticate on Twitter again (in seconds).</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>        retryInterval: <span class="number">600</span></pre></div></div>
            
        </li>
        
        
        <li id="section-63">
            <div class="annotation">
              
              <div class="pilwrap for-h2">
                <a class="pilcrow" href="#section-63">&#182;</a>
              </div>
              <h2>Singleton implementation</h2>

            </div>
            
        </li>
        
        
        <li id="section-64">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-64">&#182;</a>
              </div>
              
            </div>
            
            <div class="content"><div class='highlight'><pre>SettingsDefault.<span class="function"><span class="title">getInstance</span></span> = -&gt;
    <span class="property">@instance</span> = <span class="keyword">new</span> SettingsDefault() <span class="keyword">if</span> <span class="keyword">not</span> <span class="property">@instance</span>?
    <span class="keyword">return</span> <span class="property">@instance</span>

module.exports = exports = SettingsDefault.getInstance()</pre></div></div>
            
        </li>
        
    </ul>
  </div>
</body>
</html>
